#include <iostream>
#include "3_4Vector.h"
using namespace std;

int test(SsxVector<int> & vec , int total, bool needprint)
{
    for(int i = 0; i < total; ++i)
    {
        vec.pushBack(i);

    }

    if(needprint)
        for(int i = 0; i < vec.vecSize(); ++i)
        {
            cout << vec[i];
        }

    return 0;
}


int main()
{
    //cout << "Hello world!" << endl;

    SsxVector<int> vec;
    cout << vec.vecSize() << endl;
    cout << vec.vecCapacity() << endl;

    test(vec, 10, false);

    SsxVector<int>::SsxIterator itr = vec.vecBegin();

    ++itr;
    cout << *itr++ << endl;
    cout << *itr << endl;
    //test(vec,77);

    return 0;
}
